/**
 * Copyright 2009-2011 xiaonei.com All right reserved.
 * This software is the confidential and proprietary information of Xiaonei.com ("Confidential Information"). 
 * You shall not disclose such Confidential Information and shall use it only in accordance with the terms of the license agreement you entered into with Xiaonei.com.
 * Create by XiaoNeiAntiSpamTeam
 *
 */

package com.xiaonei.testice.testamd.service;

import com.xiaonei.testice.testamd.AMD_Printer_printString;

/**
 * @ClassName: AMDPrinterJob
 * @Description: AMDPrinter任务类
 * @author shaohui.liu shaohui.liu@opi-corp.com
 * @date Feb 1, 2010 8:54:00 PM
 * 
 */
public class AMDPrinterJob {

    private AMD_Printer_printString cb;

    private String message;

    public AMDPrinterJob(AMD_Printer_printString cb, String message) {
        super();
        this.cb = cb;
        this.message = message;
    }

    /**
     * @return the cb
     */
    public AMD_Printer_printString getCb() {
        return cb;
    }

    /**
     * @param cb the cb to set
     */
    public void setCb(AMD_Printer_printString cb) {
        this.cb = cb;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /* (非 Javadoc)
     * <p>Title: toString</p>
     * <p>Description: </p>
     * @return
     * @see java.lang.Object#toString()
    */
    @Override
    public String toString() {
        return "AMDPrinterJob [cb=" + cb + ", message=" + message + "]";
    }

}
